//
//  Slip.h
//  SKPAD
//
//  Created by admin@amonline.com.cn on 15/5/4.
//  Copyright (c) 2015年 何睿 All rights reserved.
//
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>

@interface KnobGraduation : UIControl

//刻度起始位置
@property (nonatomic, assign) CGFloat startAngle;
//刻度结束位置
@property (nonatomic, assign) CGFloat endAngle;
//实际值
@property (nonatomic, assign) CGFloat realityAngle;
//刻度图层
@property (nonatomic, readonly, strong) CAShapeLayer *trackLayerGraduation;
//实际刻度量图层
@property (nonatomic, readonly, strong) CAShapeLayer * trackLayerReality;
//刻度分成的份数
@property (nonatomic, assign) CGFloat totalDuplicate;

//图片大小和图标的偏移量
@property (nonatomic, assign) CGFloat difference;
//外圈圆半径
@property (nonatomic, assign) CGFloat radiusOutside;
//内圈半径是外圈半径的5分之4
@property (nonatomic, assign) CGFloat radiusInside;
//圆心坐标,相对屏幕位置的坐标
@property (nonatomic, assign) CGFloat centerX;
@property (nonatomic, assign) CGFloat centerY;

-(void)updateWithBounds:(CGRect)bounds;

@end
